package com.demo.business.common.web;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import static org.springframework.web.bind.annotation.RequestMethod.*;

/**
 *
 * @author 谢长春
 */
@Controller
@RequestMapping("/")
@Slf4j
public class HomeController {
    @RequestMapping(method = {GET, POST, PUT, PATCH, DELETE})
    public String home() {
        return "/static/index";
    }
}